package com.zonski.jbots.desktop.editer;

import com.zonski.jbots.engine.InputStreamFactory;

import java.io.InputStream;
import java.io.FileInputStream;
import java.io.IOException;

/**
 * Created by IntelliJ IDEA.
 * User: Chris Glover
 * Date: Oct 27, 2003
 * Time: 10:44:03 AM
 * To change this template use Options | File Templates.
 */
public class LiteralFileInputStreamFactory implements InputStreamFactory
{
    public LiteralFileInputStreamFactory()
    {
    }

    public InputStream getInputStream(String name)
        throws IOException
    {
        return new FileInputStream(name);
    }
}
